
*Tanzania
use "Figure1_right.dta" 


tsset date, daily

format date %tdnn/CCYY
tsline estimate official_covid_deaths , ///
 ylabel(0(0.1)0.5)  /// 
  graphregion(fcolor(white) ifcolor(white)) plotregion(fcolor(white) ifcolor(white))  ///
  lcolor (black black) ///
  lpattern (dash solid) ///
 legend(label(1 "Excess deaths per 100k (estimated)") label(2 "Official deaths per 100k") rows(3))
 
 
 
 
 
 *Belarus
use "Figure1_left.dta"



format date %td
gen official_excess =.
replace official_excess= estimate if date< td(30mar2021)



gen estimated_excess =.
replace estimated_excess= estimate if date> td(4apr2021)

tsset date, daily

format date %tdnn/CCYY
tsline estimated_excess official_excess official_covid_deaths, ///
 ylabel(0(0.5)3)  /// 
  graphregion(fcolor(white) ifcolor(white)) plotregion(fcolor(white) ifcolor(white))  ///
  lcolor (black black black) ///
  lpattern (dash dash_dot solid) ///
 legend(label(1 "Excess deaths per 100k (estimated)")  label( 2 "Reported excess deaths per 100k") label(3 "Official deaths per 100k") rows(3)) 
